.layout {
  min-height: 100vh;
  background: #f0f2f5;
}

.content {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;

  @media screen and (max-width: 768px) {
    padding: 16px;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;

  @media screen and (max-width: 576px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.breadcrumb {
  :global {
    .ant-breadcrumb-link {
      color: #666;
      
      &:hover {
        color: #1890ff;
      }
    }

    .anticon {
      margin-right: 4px;
    }
  }
}

.backButton {
  display: flex;
  align-items: center;
  height: 40px;
  border-radius: 20px;
  padding: 0 20px;
  transition: all 0.3s ease;

  :global {
    .anticon {
      margin-right: 8px;
    }
  }

  &:hover {
    transform: translateX(-4px);
  }

  @media screen and (max-width: 576px) {
    width: 100%;
    justify-content: center;
  }
}

.spinner {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;

  :global {
    .ant-spin-container {
      width: 100%;
    }
  }
}

// 暗色主题适配
@media (prefers-color-scheme: dark) {
  .layout {
    background: #141414;
  }

  .breadcrumb {
    :global {
      .ant-breadcrumb-link {
        color: #999;
        
        &:hover {
          color: #177ddc;
        }
      }
    }
  }

  .backButton {
    background: #1f1f1f;
    border-color: #434343;
    color: #fff;

    &:hover {
      background: #2f2f2f;
      border-color: #434343;
    }
  }
}